﻿namespace PublicEntity
{
    /// <summary>
    /// 名称、值的键值对
    /// </summary>
    /// <typeparam name="TName">名称类型</typeparam>
    /// <typeparam name="TValue">值的类型</typeparam>
    public class NameValue<TName, TValue>
    {
        /// <summary>
        /// 名称
        /// </summary>
        public TName Name { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public TValue Value { get; set; }
    }
}
